// 获取某个审批详情
import axios from "axios";

export default function (auditId) {
    return axios({
        url: '/api/auditions/auditInfo',
        method: 'get',
        headers: {
            Authorization: localStorage.getItem('Authorization')
        },
        params: auditId
    }).then(response => {
        return {
            result: true,
            data: response.data
        }
    }).catch(error => {
        return {
            result: false,
            msg: error.response.data.msg,
        }
    })

}